#include <stdio.h>
// 将类定义在命名空间中
namespace SUMU
{
    class student
    {
        public:
            const char *name;
            int age;
            float score;

        public:
            void say()
            {
                printf("%s的年龄是 %d, 成绩是 %f\n", name, age, score);
            }
    };
}

int main()
{
    SUMU::student stu1;

    stu1.name = "sumu";
    stu1.age = 15;
    stu1.score = 92.5f;
    stu1.say();

    return 0;
}